﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Mate.Core.Configuration
{
    public class MateConfig
    {
        /// <summary>
        /// 是否是开发环境
        /// </summary>
        public bool IsDevelopment { get; set; }

        /// <summary>
        /// 是否启用redis缓存
        /// </summary>
        public bool RedisCachingEnabled { get; set; }

        /// <summary>
        /// redis缓存连接字符串
        /// </summary>
        public string RedisCachingConnectionString { get; set; }

        /// <summary>
        /// 默认缓存时间
        /// </summary>
        public int DefaultCacheTime { get; set; }
        
        /// <summary>
        /// 七牛配置
        /// </summary>
        public QiniuConfig QiNiu { get; set; }
    }
}
